package com.wx.dao;

import org.apache.ibatis.annotations.*;
import org.springframework.core.annotation.Order;

/**
 * 订单表dao
 */
public interface OrderDao {
    @SelectProvider(type = OrderMapper.class,method = "findOrder")
    @Results({@Result(column = "member_id",property ="memberId" ), @Result(column = "setmeal_id",property = "setmealId")})
    Order findOrderByOrder(com.wx.pojo.Order order);

    @InsertProvider(type = OrderMapper.class,method = "addOrder")
    @Results({@Result(column = "member_id",property ="memberId" ), @Result(column = "setmeal_id",property = "setmealId")})

    void addOrder(com.wx.pojo.Order order);
}
